package com.wlts.wzy.KSOrderModule.service;

import com.wlts.wzy.expand.MyLambdaQueryWrapper;
import com.wlts.wzy.expand.MyPage;
import com.wlts.wzy.KSOrderModule.entity.KsOrders;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.Serializable;

/**
 * <p>
 * 快手订单表 服务类
 * </p>
 *
 * @author zhiyong
 * @since 2021-02-02
 */
public interface IKsOrdersService extends IService<KsOrders> {

    KsOrders getById(Serializable id, boolean isUseCache);

    MyPage<KsOrders> page(KsOrders ksOrders, Integer page, Integer size, boolean isUseCache);

    MyPage<KsOrders> page(KsOrders ksOrders, Integer page, Integer size, boolean isUseCache, String dimension);

    MyPage<KsOrders> page(MyLambdaQueryWrapper<KsOrders> wrapper, Integer page, Integer size, boolean isUseCache);

    MyPage<KsOrders> page(MyLambdaQueryWrapper<KsOrders> wrapper, Integer page, Integer size, boolean isUseCache, String dimension);

    KsOrders selectOnes(MyLambdaQueryWrapper<KsOrders> wrapper, boolean isUseCache);

    void delAllPageCache();

    void delDimensionPageCache(String dimension);
}
